From 5a6ef893cc360f7d7a2f0e1d77787980d27f7ff3 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 29 May 1993 05:59:09 +0000 Subject: [PATCH] (XTring_bell): Do nothing if x_current_connection is 0. --- src/xterm.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/xterm.c b/src/xterm.c index 033b1da5685..60f4c8850fc 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -830,6 +830,9 @@ XTflash (f) XTring_bell () { + if (x_current_display == 0) + return; + #if defined (HAVE_TIMEVAL) && defined (HAVE_SELECT) if (visible_bell) XTflash (selected_frame); -- 2.30.2